import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'swiper/css/swiper.css'
import './axios'

import axios from 'axios'
Vue.prototype.$axios = axios 

import { VueJsonp } from 'vue-jsonp'

Vue.use(VueJsonp)

Vue.config.productionTip = false

Vue.use(ElementUI)

new Vue({
    router,
    store,
    render: h => h(App),
    beforeCreate(){
      Vue.prototype.$bus = this
    }
}).$mount('#app')
